Part Number Hot Search : 
FSAV330M ISL43485 A1733 LC75700 600ETT SC8560 DT54F L1010
Product Description
Full Text Search
 

To Download MS87V1021 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 PEDS87V1021-01
1 Semiconductor MS87V1021
Recording and Playback IC with Built-in 2-Mbit DRAM
This version: Sept. 2000
GENERAL DESCRIPTION
The MS87V1021 is a single chip recording and playback IC that is controlled by the microcontroller in serial mode, compresses voice with the 4-bit OKI ADPCM algorithm or 4-bit OKI ADPCM2 algorithm with high tone quality, and has 2-Mbit DRAM in which recorded data is stored and 512-Kbit mask ROM in which fixed messages reside. The MS87V1021 includes such features as Normal Recording and Playback, Delayed playback, Retroactive playback, Fast forwarding, and Rewinding. The internal memory in which voice data is stored allows a recording/playback system to be constructed merely by externally connecting it to a microphone, a speaker driving amplifier, and a speaker.
FEATURES
* Serial microcontroller interface (clock synchronized) * Built-in 512-Kbit mask ROM for fixed messages ROM playback time : Approx. 15 seconds (Fsam = 8.0 kHz) Approx. 20 seconds (Fsam = 6.4 kHz) Approx. 30 seconds (Fsam = 4.0 kHz) * Voice analyzing and synthesizing system : 4-bit OKI ADPCM or 4-bit OKI ADPCM2 algorithm 8-bit OKI non-linear PCM algorithm (for ROM playback only) * Sampling frequency (source oscillation frequency: 4.096 MHz) : 4.0 kHz, 5.3 kHz, 6.4 kHz, 8.0 kHz, or 10.6 kHz * Recording time: Approx. 60 seconds (Fsam = 8.0 kHz) Approx. 80 seconds (Fsam = 6.4 kHz) Approx. 120 seconds (Fsam = 4.0 kHz) * Built-in 14-bit A-to-D and D-to-A converters * Built-in LPF: Attenuation rate -40 dB/oct * Number of phrases Variable message: 255 phrases Fixed phrases: 255 phrases * Source oscillation frequency: 4.096 MHz * Supply voltage: 2.7 to 3.6 V * Operating current: 15 mA max. (source oscillation frequency : 4.096 MHz, Supply voltage : 3.6 V) * Operating temperature: -20 to +70 C * Package: 32-pin TSOP Type I
1/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
CONTENTS
GENERAL DESCRIPTION .................................................................................................................................1 FEATURES ..........................................................................................................................................................1 BLOCK DIAGRAM .............................................................................................................................................4 PIN CONFIGURATION (TOP VIEW)................................................................................................................4 PIN DESCRIPTION .............................................................................................................................................5 APPLICATION CIRCUIT EXAMPLE................................................................................................................6 ABSOLUTE MAXIMUM RATINGS ..................................................................................................................7 RECOMMENDED OPERATING CONDITIONS............................................................................................... 7 ELECTRICAL CHARACTERISTICS .................................................................................................................7 DC Characteristics. .............................................................................................................................................7 AC Characteristics ..............................................................................................................................................8 1. Microcontroller interface mode....................................................................................................................8 2. BUSY time when a command is executed ..................................................................................................8 3. Status flag time when a command is executed...........................................................................................10 Analog Characteristics... ...................................................................................................................................11 Analog Input Amplifier Circuit.........................................................................................................................11 LPF Characteristics...... .....................................................................................................................................12 AD, DA Converter Full Scale... ........................................................................................................................12 NOTICE.......................................... ....................................................................................................................13 Power Supply Connection.................................................................................................................................13 Supplementary Explanation on SG Pin .............................................................................................................14 TIMING DIAGRAMS ........................................................................................................................................15 Serial microcontroller interface mode...............................................................................................................15 Ready for recording with Rec command...........................................................................................................17 Ready for playback with Play command...........................................................................................................17 Starting recording with Start command ............................................................................................................18 Starting playback with Start command .............................................................................................................18 Ending recording/playback with Stop command ..............................................................................................19 Pause of recording/playback with Pause command ..........................................................................................19 Setting voice area block with Area1 commnand...............................................................................................20 Setting voice area with Area2 command...........................................................................................................20 Setting Delay value with Delay command ........................................................................................................21 Deleting phrase with Del command. .................................................................................................................21 Outputting STATUS with Status command......................................................................................................22 Reading recording/playback start address with Adrrd command......................................................................23 Writing recording/playback start address with Adrwr command......................................................................23 Copying page data with Copy command ..........................................................................................................24 Fast forward/rewind with Cue/rew command ...................................................................................................24 Data transfer with Dtrw command ....................................................................................................................25 Ending Dtrw mode with End command ............................................................................................................25 Continuous ROM playback with Rply command .............................................................................................26 Reset function ...................................................................................................................................................27 Power down function. .......................................................................................................................................27 LIST OF COMMANDS......................................................................................................................................28 Delayed Play Mode...........................................................................................................................................28 Retroactive Play Mode (1/2) .............................................................................................................................29 Retroactive Play Mode (2/2) .............................................................................................................................30 Normal Mode(1/2) ............................................................................................................................................31 Normal Mode(2/2) ............................................................................................................................................32 Other Commands (Common in All Modes) (1/2). ............................................................................................33 Other Commands (Common in All Modes) (2/2). ............................................................................................34 Fast Forward/Rewind Playback (Valid only in Retroactive Play Mode and Normal Mode) ............................35 FLOWCHARTS .................................................................................................................................................36
2/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Delayed Play Mode...........................................................................................................................................36 Retroactive Play Mode (1) ................................................................................................................................37 Retroactive Play Mode (2) ................................................................................................................................38 Recording in Normal Mode ..............................................................................................................................39 Playback in Normal Mode .................................................... ............................................................................40 Dtrw Command.................................................................................................................................................41 STATUS TRANSITION DIAGRAM.................................................................................................................42 SUMMARY OF OPERATING MODES AND FUNCTIONS...........................................................................43 Delayed Play Mode............................................................................................................................................43 Retroactive Play Mode......................................................................................................................................44 Normal Mode ....................................................................................................................................................45 Fast Forward/Rewind Function (Cue/Rew) ......................................................................................................46 Copy Command ................................................................................................................................................47 MEMORY ALLOCATION ................................................................................................................................49 Storing Sound Data to DRAM (In Pages) .........................................................................................................49 Storing Sound Data to DRAM (In Blocks). ......................................................................................................50 Controlling Address in Retroactive Play Mode ................................................................................................53 Controlling Address in Normal Mode...............................................................................................................54 Address Control Data for Each Phrase..............................................................................................................55 Addressing with the Adrrd and Adrwr Commands...........................................................................................56 Memory Allocation of Mask ROM...................................................................................................................57 Memory Map.....................................................................................................................................................58 Recording Time Length...................... ..............................................................................................................59 Delay Time in Delayed Play Mode and Retroactive Play Mode.......................................................................61 PACKAGE DIMENSIONS ................................................................................................................................62
3/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
BLOCK DIAGRAM
LOUT AOUT SG
LIN
LPF
ADC
DAC
LPF SG
AIN AMON
SG
Volume Controller
ADPCM CS SI SO SK BUSY Analizer/ Synthesizer MCU I/F Timing Controller
DARM 2M-Bit
MaskROM 512k-Bit
TEST TEST
XT
XT
RESET
PIN CONFIGURATION (TOP VIEW)
MGND TEST TEST TEST TEST TEST TEST TEST TEST TEST BUSY SK SO SI CS MVDD 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 AGND SG LIN LOUT AMON AOUT AIN AVDD DGND TEST TEST TEST RESET XT XT DVDD
32-pin plastic TSOP Type I (TSOP32-P814-K)
4/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
PIN DESCRIPTION
Pin No. 14 13 12 15 11 19 18 Symbol SI SO SK CS BUSY XT XT I/O I O I I O I O Inputs 8-bit command or data. Outputs 8-bit status or data. Data transfer clock for SI and SO. The SK pulse is accepted when this pin is "L". The SK pulse is not accepted when this pin is "H". Outputs "H" level during command execution. At that time, do not input a command from the external microcontroller. Crystal oscillator connection pins. When using an external clock, input the clock via the XT pin and leave the XT pin unconnected. When an external clock is used in power down mode, fix the XT pin at the GND level. The device is reset when "L" level is input. When oscillation starts, set this pin to "L" level until oscillation becomes stable, and set to "H" level after oscillation becomes stable. Data stored in the internal DRAM is cleared when "L" level is input, while data is not erased when a reset signal is input for the purpose of releasing the Pdwn1 mode. Analog reference voltage (signal ground). Connect a 1 F capacitor between AGND and this pin. Inverting input pin for internal OP amplifier. The non-inverting input pin is internally connected to SG. Output pin for internal OP amplifier Output pin for playback LPF. This pin outputs playback waveforms and is connected to the speaker driving amplifier. Testing pin. The TEST pin is fixed at the VDD level and the TEST pins are fixed at the GND level. Output pin for analog testing. Leave it unconnected. Input pin for analog testing. Fix it at the GND level. Digital power supply pin. Connect a 0.1 F or more bypass capacitor between DGND and this pin. Digital GND pin Power supply pin for DRM. Connect a 0.1 F or more bypass capacitor between MGND and this pin. Ground pin for DRAM Analog power supply pin. Connect a 0.1 F or more bypass capacitor between AGND and this pin. Analog GND pin Description
20
RESET
I
31 30 29 27 2 3-10, 21-23 28 26 17 24 16 1 25 32
SG LIN LOUT AOUT TEST TEST AMON AIN DVDD DGND MVDD MGND AVDD AGND
O I O O
I O I -- -- -- -- -- --
5/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
APPLICATION CIRCUIT EXAMPLE
SI SO SK CS RESET BUSY
MVDD DVDD AVDD
MCU
TEST TEST
MS87V1021
Voice input LIN AOUT SG LOUT OPEN AMON AIN XT XT MGND DGND AGND +
MSC1157
6/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
ABSOLUTE MAXIMUM RATINGS
(GND = 0 V) Parameter Power supply voltage Pin voltage Output shortcircuit current Power dissipation Operating temperature Storage temperature Symbol VDD VT IOS PD TOPR TSTG Condition Ta = 25C Ta = 25C Ta = 25C Ta = 25C -- -- Rated value -0.5 to 4.6 -0.5 to VDD+0.5 50 1 -20 to +70 -55 to +150 Unit V V mA W C C
RECOMMENDED OPERATING CONDITIONS
(Ta= -20 to +70C) Parameter Power supply voltage Power supply voltage "H" input voltage "L" input voltage Source oscillation frequency Symbol VDD GND VIH VIL fOSC Min. 2.7 0 VDD-0.2 -0.2 4.096 Max. 3.6 0 VDD 0.2 Unit V V V V MHz
ELECTRICAL CHARACTERISTICS
DC Characteristics
(Ta = -20 to +70C) Parameter "H" output voltage "L" output voltage Input leakage current (Note 1) Input leakage current (Note 2) Operating current Standby current 1 Standby current 2 Symbol VOH VOL ILI1 ILI2 IDD IDDS IDDS2 Condition IOH = -1 mA IOL = +1 mA 0 V < VIN < VDD Non-measured pins are at 0 V. 0V < VIN < VDD Non-measured pins are at 0 V. fOSC = 4.096 MHz no load When powered down, no load, with DRAM refreshing When powered down, no load, without DRAM refreshing Min. VDD-0.3 -- -10 -20 -- -- -- Typ. -- -- -- -- 10 -- -- Max. -- 0.3 10 20 15 70 40 Unit V V A A mA A A
Notes: 1. Applicable to input pins excluding XT and XT. 2. Applicable to XT and XT.
7/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
AC Characteristics 1. Microcontroller interface mode
(VDD = 2.7 to 3.6 V, Ta = -20 to +70C) (fOSC = 4.096 MHz Fsam = 8.0 kHz) Parameter RESET pulse width RESET execution time Setup and hold time of SK for CS SK pulse width "H" SK pulse width "L" Setup time of SI for SK rise Hold time of SI for SK rise Data valid time from fall of CS Data Hi-Z time from rise of CS Data valid time from fall of SK BUSY rise time from rise of CS Source oscillation duty cycle Symbol tRST tREX tSKS tSKH tSKL tDS tDH tCSE tCSF tDD tBSY tDUTY Min. 1 -- 500 1000 1000 250 250 -- -- -- -- 40 Typ. -- -- -- -- -- -- -- -- -- -- -- 50 Max. -- 5 -- -- -- -- -- 200 200 200 200 60 Unit s ms ns ns ns ns ns ns ns ns ns % Note 1
2. BUSY time when a command is executed
(VDD = 2.7 to 3.6 V, Ta = -20 to +70C) (fOSC = 4.096 MHz Fsam = 8.0 kHz) Parameter BUSY time after input of command BUSY time after input of mode setting command BUSY time after input of Area1 command (3) BUSY time after input of Area2 command (3) Normal mode Delayed play mode Retroactive play mode Normal mode Retroactive play mode BUSY time after input of Delay command (3) Normal mode Delayed play mode BUSY time after input of Rec command (2) Retroactive play mode Normal mode During recording During pause Retroactive play mode Normal mode tPLYB -- 1 ms Delayed play mode Retroactive play mode Delayed play mode tPLYB -- 65 ms 2 tRECB tDLYB -- -- -- 1 65 1 ms ms ms 2 tAR2B -- 1 ms Symbol tBR tMODB tAR1B Min. -- -- -- Max. 300 300 1 Unit s s ms Note
BUSY time after input of Play command (2)
8/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
(VDD = 2.7 to 3.6 V, Ta = -20 to +70C) (fOSC = 4.096 MHz Fsam = 8.0 kHz) Parameter During recording BUSY time after input of Play2 command (2) During pause Retroactive play mode Normal mode BUSY time after input of Stop command After input of Stop command during pause During ROM playback (Non-linear) BUSY time after input of Pause command BUSY time after input of Adrrd command (2) BUSY time after input of Adrrd command (8) BUSY time after input of Adrwr command (8) BUSY time after input of Cue/Rew command (2) BUSY time after input of Del command (2) BUSY time after input of Dtrw command BUSY time after input of Bytew command BUSY time after input of Byter command BUSY time after input of End command BUSY time after input of Copy command (7) BUSY time after input of Vol command BUSY time after input of Rply command BUSY time after input of Status command BUSY time after input of Nop command tADWB tCRB tDELB tBR tBR tBR tBR tCPYB tBR tBR tBR tBR Retroactive play mode Normal mode tADRB tPB Symbol Min. Max. Unit Note
tPLAYB
--
65
ms
2
-- -- tSPB
1 65
ms ms 2
--
1
ms
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
65 300 1 1 1 65 65 300 300 300 300 10 300 300 300 300
ms s ms ms ms ms ms s s s s ms s s s s
2
2 2
1 page
A number in parenthesis indicates the number of bytes of each command.
9/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
3. Status flag time when a command is executed
(VDD = 2.7 to 3.6 V, Ta = -20 to +70C) (fOSC = 4.096 MHz Fsam = 8.0 kHz) Parameter Rec command to RPM bit set Play command to RPM bit set During ROM playback Play2 command to RPM bit set Stop command to RPM bit set During ROM playback STOP command (during pause) to RPM bit set Rec command to REC bit set Play command to PLY bit set During recording During pausing -- Normal mode Pause command to PAUSE bit set Pause command to PAUSE bit reset Address control time during repeated ROM playback Oscillation stop from rise of CS after input of Pwdn1 command During ROM playback Oscillation stop from rise of CS after input of Pwdn2 command During ROM playback tPXT tPUS tPUSR tAD -- -- -- -- -- -- -- 65 300 2 65 1 65 1 ms s ms ms ms ms ms 2 1 ms Delayed play mode -- Retroactive play mode tPLY 65 ms 2 Symbol tRECR tPLYR tRPLYR tPLYR tSPR tRSPR tPSPR tREC Min. -- -- -- -- -- -- -- -- Max. 1 1 2 65 2 1 1 1 Unit ms ms ms ms ms ms ms ms 2 Note
Note
1: When powering on or releasing the power down mode, input "L" level to the RESET pin until crystal oscillation becomes stable. Moreover, when powering on, input again "L" level to the RESET pin for more than tRST to initialize the internal circuit. 2: Depending on sampling frequency Fsam.
10/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Analog Characteristics (VDD = 2.7 to 3.6V,Ta = -20 to +70C)
Parameter DA output relative error LPF input voltage range OP-amp open loop gain OP-amp input impedance OP-amp load resistance AOUT load resistance Symbol |VDAE| VFIN GOP RINA ROUTA RAOUT Condition No load -- fIN = 0 to 4 kHz -- -- -- Min. -- 1/4 x VDD 10 1 100 100 -- -- -- Max. 5 3/4 x VDD Unit mV V dB M k k
Analog Input Amplifier Ciricuit This IC contains an OP amplifier with the inverting input pin and output pin. The analog circuit reference voltage (signal ground) is internally input as the non-inverting input. When amplification is required, adjust the amplification factor using an external resistor after constructing the inverting amplifier circuit.
VLO VIN - + R1 LIN Inside LSI - + SG VLO = R2 R1 VIH R2 LOUT VLO VDD VFIN (max) 1 V 2 DD VFIN (min) GND
The output pin, LOUT, of OP amplifier is internally input to LPF (Low Pass Filter). Adjust the gain using the external resistor so that the VLO is within the accessible input voltage range VFIN. If VLO is over the VFIN, the LPF output waveform will be distorted. The example of SCF input voltage range is shown below.
SCF admissible voltage range Min. 0.75 V Max. 2.25 V
Model MS87V1021
Supply voltage VDD 3V
SCF admissible input voltage 1.5 Vp-p
The minimum value of OP-amp load resistance is 100 k. The feedback resistance R2 of inverting amplifier circuit must be larger than 100 k.
11/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
LPF Characteristics The MS87V1021 contains a 4-th order LPF in which the switched capacitor filter technique is adopted. The LOUT pin is internally connected to the input of LPF. The attenuation rate is -40 dB/oct. The cut-off frequency and frequency characteristics vary in proportion to sampling frequency (Fsam). The cut-off frequency is designed to 4/10 of sampling frequency. The characteristics of LPF when Fsam = 8 kHz are shown below.
[dB] 20 10 0 -10 -20 -30 -40 -50 -60 -70 -80 100 1k 10k [Hz]
LPF characteristics (Fsam = 8.0 kHz)
AD, DA Converter Full Scale
Model MS87V1021 AD, DA converter full scale Min. (V) 1/4 x VDD Max. (V) 3/4 x VDD Amplitude (Vp-p) 1/2 x VDD
VDD (3 V) 3 VDD (2.25 V) 4 1 V (1.5 V) 2 DD 1 VDD (0.75 V) 4 0 V (0 V) AD, DA converter full scale LPF admissible input voltage range
A value in parenthesis indicates a voltage when VDD is 3.0 V.
12/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
NOTICE
Power Supply Connection The power of this IC is supplied from a single power supply as shown below, which should be connected to the analog section, logic section and memory section separately.
Power source
MVDD
MGND
Ground
If the analog section, digital section and memory section are supplied from different power sources, a latch-up may occur. Be sure to avoid the power supply connections shown below.
Power source 1 Power source 2 MVDD DVDD AVDD
Power source
DGND DVDD
AGND
DVDD
AVDD
MVDD
AVDD
LSI
LSI
Power source 1 Power source 2
Power source 1 Power source 2
DVDD
AVDD
AVDD
MVDD
MVDD
DVDD
LSI
LSI
13/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Supplementary Explanation on SG Pin Connect a 1 F electrolytic capacitor between the SG pin and AGND. After reset or releasing the power down mode, do recording or playback after the voltage level of SG pin becomes stable. The voltage level becomes stable at 1/2 of VDD. The time to be stabilized is approximately 50 ms in case shown below.
Inside of LSI
External circuit SG pin
Approx. 20 k
Approx. 20 k
+
1 F
AGND
14/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
TIMING DIAGRAMS
Serial microcontroller interface mode [Data write operation]
CS (I) SK (I)
1st byte
2nd byte
SI (I)
MSB D6 D5
D4 D3 D2 D1 LSB Hi-Z
MSB D6
D5 D4 D3 D2
SO (O)
BUSY (O) Data I/O disabled
[Data read operation]
CS (I) SK (I)
Data output
Data input
SI (I) Hi-Z
MSB D6
D5 D4 D3 D2
SO (O)
MSB Q6 Q5 Q4 Q3 Q2
Q1 LSB
Hi-Z
BUSY (O)
Data I/O disabled
15/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
[Data write operation]
CS (I) tSKS SK (I) (Note) "L" level tDS SI (I) MS tDH D6 D1 LSB tSKL tSKH tSKS (Note) "L" level
SO (O)
Hi-Z tBSY
BUSY (O)
(Note) Be sure to set SK to "L" when CS is at "H" level.
[Data read operation]
CS (I) tSKS SK (I) (Note) "L" level tSKL tSKH tSKS (Note) "L" level
SI (I) tCSE SO (O) Hi-Z MS tDD Q6 D1 LSB tBSY BUSY (O) tCSF Hi-Z
(Note) Be sure to set SK to "L" when CS is at "H" level.
16/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Ready for recording with Rec command
CS SK SI Rec command (1) Rec command (2)
BUSY tBR
Executing Rec command (1)
tRECB
Standby
Standby
Executing Rec command (2)
Standby
Ready for playback with Play command
CS SK SI Play command (1) Play command (2)
BUSY tBR
Executing Play command (1)
tPLYB
Executing Play command (2)
Standby
Standby
Standby
17/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Starting recording with Start command
CS SK SI
Rec command (1) Rec command (2) Start command
tSTB BUSY tRECR RPM bit
Standby
Standby Executing Rec command (1) Executing Rec command (2)
Standby
Recording Executing Start command
Starting playback with Start command
CS SK SI
Play command (1) Play command (2) Start command
tBR BUSY tPLYR RPM bit
Standby
Standby Executing Play command (1) Executing Play command (2)
Standby
Playing Executing Start command
18/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Ending recording/playback with Stop command
CS SK SI Stop command (1)
BUSY tSPB tSPR RPM bit
Recording/playing
Stop processing
Standby
Pause of recording/playback with Pause command
CS SK SI
Pause command
Pause command Pause command
BUSY tPB PAUSE bit Recording/playing tPUS tPB tPUSR tPB
Pausing Executing Pause command
Recording/playing Executing Pause command
Pausing Executing Pause command
19/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Setting voice area block with Area1 command
CS SK SI
Area1 command (1) Area1 command (2) Area1 command (3)
BUSY tBR Standby tBR tAR1B
Standby Executing Area1 command (1)
Standby Executing Area1 command (2) Executing Area1 command (3)
Standby
Setting voice area with Area2 command
CS SK SI
Area2 command (1) Area2 command (2) Area2 command (3)
BUSY tBR Standby Standby Executing Area2 command (1) tBR Standby Executing Area2 command (2) Executing Area2 command (3) tAR2B Standby
20/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Setting Delay value with Delay command
CS SK SI
Delay command (1) Delay command (2) Delay command (3)
BUSY tBR Standby Standby Executing Delay command (1) tBR Standby Executing Delay command (2) Executing Delay command (3) tDLYB Standby
Deleting phrase with Del command
CS SK SI Del command (1) Del command (2)
BUSY tBR
Executing Del command (1)
tDELB
Standby
Standby
Executing Del command (2)
Standby
21/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Outputting STATUS with Status command
CS SK SI Status command
SO
Status output
BUSY tBR tBR
Standby
Executing Status command
Status output
Standby
22/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Reading recording/playback start address with Adrrd command
CS SK SI SO tBR BUSY tADRB
Adrrd(1) Adrrd(2) Stadr [23:16] Stadr [15:8] Stadr [7:0] Enadr [23:16] Enadr [15:8] Enadr [7:0]
tBR
tBR
tBR
tBR
tBR
tADRB
Standby
Standby Executing Adrrd (1) command
Standby
Standby
Standby
Standby
Standby
Standby
Standby
Executing Adrrd (2) command
Executing Adrrd (3) command
Executing Adrrd (4) command
Executing Adrrd (5) command
Executing Adrrd (6) command
Executing Adrrd (7) command
Executing Adrrd (8) command
Reading Stadr address
Reading Enadr address
Writing recording/playback start address with Adrwr command
CS SK SI
Adrwr(1) Adrwr(2)
Stadr [23:16]
Stadr [15:8]
Stadr [7:0]
Enadr [23:16]
Enadr [15:8]
Enadr [7:0]
tBR BUSY
tBR
tBR
tBR
tBR
tBR
tBR
tADRB
Standby
Standby
Standby
Standby
Standby
Standby
Standby
Standby
Standby
Executing Adrwr (1) command
Executing Adrwr (2) command
Executing Adrwr (3) command
Executing Adrwr (4) command
Executing Adrwr (5) command
Executing Adrwr (6) command
Executing Adrwr (7) command
Executing Adrwr (8) command
Writing Stadr address
Writing Enadr address
23/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Copying page data with Copy command
CS SK SI
Copy(1) PgStart [15:8] PgStart [7:0] PgEnd [15:8] PgEnd [7:0] Target [15:8] Target [7:0]
tBR BUSY
tBR
tBR
tBR
tBR
tBR
tCPYB
Standby
Standby
Standby
Standby
Standby
Standby
Standby Executing Copy (7) command
Standby
Executing Copy (1) command
Executing Copy (2) command
Executing Copy (3) command
Executing Copy (4) command
Executing Copy (5) command
Executing Copy (6) command
Fast forward/rewind with Cue/Rew command
CS SK SI
Cue/ Rew(1) Cue/ Rew(2) Cue/ Rew(1) Cue/ Rew(2)
tBR BUSY
Normal playing Standby Standby
tCRB
tBR
tCRB
Fast forwarding/rewinding (double speed) Standby Standby
Fast forwarding/rewinding (single speed) Standby
Executing Cue/Rew (1) command
Executing Cue/Rew (2) command
Executing Executing Cue/Rew (1) Cue/Rew (2) command command
24/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Data transfer with Dtrw command
CS SK SI SO tBR BUSY
Executing Bytew command Executing Byter command Dtrw(1) Dtrw(2) Dtrw(3) Dtrw(4)
Bytew(1)
Write Data
Byter(1) Read Data
tBR
tBR
tBR
tBR
tBR
tBR
tBR
Standby
Executing Dtrw command
Standby
Ending Dtrw mode with End command
CS SK SI End command
BUSY tBR
Standby
Executing End command
Standby
25/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Continuous ROM playback with Rply command
CS SK
Rply (1) Rply (2) Rply (1) Rply (2) Rply (1) Rply (2)
SI
Phrase 1 tBR tBR BUSY
Phrase 2
Phrase 3
NAR bit
RPM bit tAD Voice output Playing phrase1 Playing phrase2 tAD Playing phrase3
(Note) When ROM is being continuously played, other commands than Rply command, Stop command, Vol command and Status command cannot be acceptable.
26/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Reset function
Specified power supply voltage
VDD
tRST RESET tREX BUSY
XT XT Oscillation start Stable oscillation
[Reset after powering on] When powering on, be sure to initialize the internal circuit by inputting an "L" level pulse to the RESET pin for a specified time after the power supply voltage level reaches the specified level and oscillation becomes stable.
Power down function
CS SK
SI
Power down command
tRST RESET tREX
BUSY tPXT XT XT Stable oscillation
Power down command input Power down command processing
Oscillation stop
Oscillation start
Stable oscillation
Standby
Power down
Oscillation start Executing RESET RESET input
Standby
27/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
THE COMMANDS LIST
Delayed Play Mode
Command Code Mode 1st Byte 01h Area2 1st Byte 39h 2nd Byte Start2[7:0] 3rd Byte End2[7:0] Description Sets the operating mode to Delayed Play Mode. Selects a sound data area. Start Block Address; address range: 00h to FFh, by default set to: 00h End Block Address; address range: 00h to FFh, by default set to: FFh The memory area starting from the block specified with the Start2 up to that specified with the End2 is selected. Up to 256 blocks can be selected. Each value set with this command remains valid until you enter Reset or the Mode command to change the operating mode. You may not set the Start2 address value that is lower than the End2 address. Defines the Delay time (i.e. a time lag between recording and its playback). The value for the Dly The Delay time can be obtained with the following formula: (Dly x 250 / Sampling Frequency) For more details on setting the Dly value, see "Delay Time in Delayed Play Mode and Retroactive Play Mode" later in this document. Sets the LSI to record-ready state and selects the Method and Samp values. The value for the Method. The value for the Samp. Entering the Start command following the Rec command input initiates recording, which keeps going on until the Stop command is entered. While recording, playback will not start until the Play command is entered. If you enter the Rec command while recording and playing, the LSI stops playing and outputs SG level from the AOUT pin. In this case, recording still goes on even after playback stops. Voice Synthesis Algorithm Method 0h 1h Others Algorithm ADPCM ADPCM2 Prohibited Sampling Frequency
Samp 3h 4h 5h 6h 7h 8h 9h Sampling Frequency 4.0kHz 4.0kHz 5.3kHz 6.4kHz 8.0kHz 8.0kHz 10.6kHz (fosc/1024) (fosc/1024) (fosc/768) (fosc/640) (fosc/512) (fosc/512) (fosc/384)
Delay
1st Byte 38h 2nd Byte Dly[15:8] 3rd Byte Dly[7:0]
Rec
1st Byte
10h
2nd Byte Method[7:4] Samp[3:0]
Others fosc = 4.096 MHz
Prohibited
Play
1st Byte 2nd Byte
20h Method[7:4] Samp[3:0]
Start Stop
1st Byte 1st Byte
30h 40h
Sets the LSI to play-ready state and selects the Method and Samp values. The value for the Method. The value for the Samp. Entering the Play command while recording causes the LSI to start playing what has been recorded the Delay time ago, with recording still going on. For more details on the Method and Samp, see description on the Rec command earlier in this document. Starts recording/playing. Stops recording/playing.
28/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Retroactive Play Mode (1/2)
Command Mode Area2 1st Byte 1st Byte 2nd Byte 3rd Byte Code 02h 39h Start2[7:0] End2[7:0] Description Sets the operating mode to Retroactive Play Mode. (Cue/Rewind function available) Selects a sound data area. Start Block Address; address range: 00h to FFh, by default set to: 00h End Block Address; address range: 00h to FFh, by default set to: FFh The memory area starting from the block specified with the Start2 up to that specified with the End2 is selected. Up to 256 blocks can be selected. Each value set with this command remains valid until you enter Reset or the Mode command to change the operating mode. You may not set the Start2 address value that is lower than the End2 address. Defines the Delay time (i.e. a time to go back to the past). The value for the Dly Use this command to set the Delay time, that is the time length going back to the past from the time when the Play or Play2 command is entered. The Delay time can be obtained with the following formula: (Dly x 250 / Sampling Frequency) For more details on setting the Dly value, see "Delay Time in Delayed Play Mode and Retroactive Play Mode" later in this document. Sets the LSI to record-ready state and selects the Method and Samp values. The value for the Method. The value for the Samp. For more details on the Method and Samp, see description on the Rec command in Delayed Play Mode earlier in this document. Sets the LSI to play-ready state and selects the Method and Samp values. The value for the Method. The value for the Samp. Entering the Play command while recording causes the LSI to play once from what was recorded the Delay time ago up to the time when the Play command is entered. In this case, recording stops. For more details on setting the Dly value, see "Delay Time in Delayed Play Mode and Retroactive Play Mode" later in this document. Sets the LSI to repeat-play-ready state and selects the Method and Samp values. The value for the Method. The value for the Samp. Entering the Play2 command while recording causes the LSI to repeat playing from what was recorded the Delay time ago up to the time when the command is entered. In this case, recording stops. For more details on setting the Dly value, see "Delay Time in Delayed Play Mode and Retroactive Play Mode" later in this document.
Delay
1st Byte 2nd Byte 3rd Byte
38h Dly[15:8] Dly[7:0]
Rec
1st Byte 2nd Byte
01h Method[7:4] Samp[3:0]
Play
1st Byte 2nd Byte
20h Method[7:4] Samp[3:0]
Play2
1st Byte 2nd Byte
21h Method[7:4] Samp[3:0]
29/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Retroactive Play Mode (2/2)
Command Adrrd Code 1st Byte 51h 2nd Byte 00h 4th Byte Stadr[15:8](O) 5th Byte Stadr[7:0](O) 6th Byte Enadr[23:16](O) Outputs the end-record address (in serial from the SO pin). 7th Byte Enadr[15:8](O) 8th Byte Enadr[7:0](O) You need to know the exact address where sound data is stored to play the data again in Retroactive Play Mode after record/play operation in the mode is complete. This command allows you to read the start-record and end-record addresses. Adrwr 1st Byte 50h 2nd Byte 00h 3rd Byte Stadr[23:16] 4th Byte Stadr[15:8] 5th Byte Stadr[7:0] 6th Byte Enadr[23:16] 7th Byte Enadr[15:8] 8th Byte Enadr[7:0] You need to specify the address where sound data is stored to play the data again in Retroactive Play Mode after record/play operation in the mode is complete. This command enables you to write the start-play and end-play addresses. Normally you specify the addresses that you read by using the Adrrd command. Pause 1st Byte 41h Pauses recording or playing. Re-entering the command resets pause state and resumes the earlier operation. Start 1st Byte 30h Starts recording or playing in Retroactive Play Mode. Entering the Start command following the Rec command causes the LSI to start recording in Retroactive Play mode. Meanwhile, entering the Start command following the Play1 or Play2 command causes the LSI to start playing, looking up address information on the internal Stadr/Enadr register that contains the record-start and record-end addresses. Stop 1st Byte 40h Stops recording or playing in Retroactive Play Mode. The value for the end-play address. You need to set the lower 7 bits to "1". Use this command to write the Start and End address values of the playback data. Set this to "00h". The value for the start-play address. You need to set the lower 7 bits to "0". Description Use this command to read the Start and End address values of the recorded data. Set this to "00h".
3rd Byte Stadr[23:16](O) Outputs the start-record address (in serial from the SO pin).
30/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Normal Mode (1/2)
Command Mode Area1 1st Byte 1st Byte 2nd Byte 3rd Byte Code 03h 36h Start1[7:0] End1[7:0] Description Sets the operating mode to Normal Play Mode. (Cue/Rew function available) Selects an area for address control and sound data. Start Block Address; address range: 00h to FFh, by default set to: 00h End Block Address; address range: 00h to FFh, by default set to: FFh The memory area ranging from the block specified with the Start1 up to that specified with the End1 is selected for storing both address control and sound data. Up to 256 blocks can be selected. Each value set with this command remains valid until you enter Reset. The Area1 command is valid in Normal Play Mode only. You may not set the Start1 address value that is lower than the End1 address. Selects a sound data area. Start Block Address; address range: 00h to FFh, by default set to: 00h End Block Address; address range: 00h to FFh, by default set to: FFh This command is used to select a sound data area within the memory area defined by using the Area1 command. The area ranging from the block specified with the Start2 up to that specified with the End2 is selected. Each value set with this command remains valid until you enter Reset or the Mode command to change the operating mode. The first 2 blocks (02h; 16 pages) of the memory area selected by the Area1 command are automatically assigned to the Address Control Data Area. Therefore, blocks you can actually select as Sound Data Area are the third block and thereafter (the value for the Start1 + 02h). The values defined by the Start1, Start2 and End1, End2 must satisfy the following formula: Start2 Start1 + 02h; End2 End1 For more details, see "Controlling addresses in Normal Play Mode" later in this document. Note: You may not set the Start2 address value that is lower than the End2 address. Sets the LSI to record-ready state and selects the Method and Samp values. The value for the Method. The value for the Samp. For more details on the Method and Samp, see description on the Rec command in Delayed Play Mode earlier in this document. Sets the LSI to one-time-play-ready state and selects a phrase to be played. The value for the Phrase. Range: 01h to FFh For playback the LSI uses the Method and Samp values set with the Rec command. Sets the LSI to repeat-play-ready state and selects a phrase to be played. The value for the Phrase. Range: (01h to FFh) For playback the LSI uses the Method and Samp values set with the Rec command.
Area2
1st Byte 2nd Byte 3rd Byte
39h Start2[7:0] End2[7:0]
Rec
1st Byte 2nd Byte
10h Method[7:4] Samp[3:0]
Play
1st Byte 2nd Byte
20h Phrase[7:0]
Play2
1st Byte 2nd Byte
21h Phrase[7:0]
31/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Normal Mode (2/2)
Command Adrrd 1st Byte Code 51h Description Use this command to read the Start and End address values of the specified phrase. The value for the Phrase. Range: 01h to FFh Outputs the Start Address (in serial from the SO pin).
2nd Byte Phrase[7:0] 3rd Byte 4th Byte 5th Byte 6th Byte 7th Byte 8th Byte Stadr[23:16](O) Stadr[15:8] (O) Stadr[7:0] (O)
Enadr[23:16](O) Outputs the End Address (in serial from the SO pin). Enadr[15:8](O) Enadr[7:0](O) This command allows you to read the Start Address and End Address of the phrase specified.
Adrwr
1st Byte
50h
Use this command to write the Start and End address values of the specified phrase. The value for the Phrase. Range: 01h to FFh The value for the Start Address. You need to set the lower 7 bits to "0".
2nd Byte Phrase[7:0] 3rd Byte 4th Byte 5th Byte 6th Byte 7th Byte 8th Byte Stadr[23:16] Stadr[15:8] Stadr[7:0] Enadr[23:16] Enadr[15:8] Enadr[7:0]
The value for the End Address. You need to set the lower 7 bits to "1".
With this command you can define a phrase and the Start and End addresses of the phrase. Addressing is in Pages. You should specify the page's top address (the lower 7 bits = 0) for the Start Address, while the page's end address (the lower 7 bits = 1) for the End Address. If you specify Stadr = Enadr, the LSI performs endless (loop) recording. Note: You may not specify the Start address value that is larger than the End address. Del 1st Byte 70h Deletes the specified phrase(s). The value for the Phrase. Range: 01h to FFh If you specify "00h" for the Phrase, all phrase data will be erased. Pause 1st Byte 41h Pauses recording or playing. Re-entering the command resets pause state and resumes the earlier operation. Start Stop 2nd Byte Phrase[7:0] 1st Byte 40h Starts recording or playing. Stops recording or playing. 2nd Byte Phrase[7:0]
32/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Other Commands Common in All Modes (1/2)
Command Nop Dtrw 1st Byte 1st Byte 2nd Byte 3rd Byte 4th Byte Code 00h 60h Adr[23:16] Adr[15:8] Adr[7:0] You can't access to DRAM and Mask ROM simultaneously. If you want to access to the other memory address, you need to enter the End command to end Dtrw mode once, and then set up the new address by using the Dtrw command again. Bytew 1st Byte 2nd Byte 61h Data[7:0] Use this command to write data to the on-chip DRAM. Writing data. After writing data is complete, the address pointer for writing is incremented by one. When the last address of the DRAM is reached, the next address automatically returns to the top address of the DRAM. Byter 1st Byte 2nd Byte 62h Data[7:0] Use this command to read data from the on-die DRAM or Mask ROM. Reading data (in serial from the SO pin). After reading data is complete, the address pointer for reading is incremented by one. When the last address of the DRAM or Mask ROM is reached, the next address automatically returns to the top address of each memory. End Pdwn1 1st Byte 1st Byte 63h 80h Use this command to end Dtrw mode. Use this command to let the LSI enter power-down state. The on-chip DRAM enters self-refresh mode to preserve all the stored data. Pdwn2 Test Rply 1st Byte 1st Byte 1st Byte 2nd Byte 88h F0h 24h Phrase[7:0] Use this command to let the LSI enter power-down state. Data on the DRAM will be lost. The LSI test command. Do not enter the command. Use this command to play Mask ROM data. Sets ROM phrase value. The Mask ROM Phrase values are independently controlled, separately from the Phrase values for DRAM recording. Vol 1st Byte 2nd Byte 28h Vol[7:0] Use this command to set up a volume level. The default value for the Vol is "0h". Vol values and Attenuation
Vol 0h 1h 2h 3h Attenuation 0 dB -3 dB -6 dB -9 dB Vol 4h 5h 6h 7h Attenuation -12 dB -15 dB -18 dB -21 dB
Description Represents "No Operation". The command is ignored. Use this command to make an access to the on-chip DRAM or Mask ROM. Specify the head address at which you want to start reading or writing.
33/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Other Commands Common in All Modes (2/2)
Command Copy 1st Byte 3rd Byte 4th Byte 5th Byte 6th Byte 7th Byte Code 68h PgStart[7:0] PgEnd[15:8] PgEnd[7:0] Target [15:8] Target [7:0] 2nd Byte PgStart[15:8] Description Use this command to move data in Pages. Enter the top address of the page where the data you want to move is stored. Enter the last address of the page where the data you want to move is stored. Enter the top address of the starting page to which you want to move the data. The data from the page specified with the PgStart to the page specified with the PgEnd is moved to the pages starting from the page specified with the Target. Status 1st Byte FFh Reads LSI's status. 2nd Byte Status[7:0](O) Outputs the LSI's status signals. (in serial from the SO pin) Status Bit Function
Bit 7 6 5 4 3 2 1 0 Description PAUSE Outputs "H" during pausing. Outputs "H" during playing. PLY REC RPM NAR -- -- -- Outputs "H" during recording. Outputs "L" while processing recording or playing data. Outputs "H" while the ADPCM unit is ready. Outputs "H" when the LSI gets ready to accept the next phrase data while playing Mask ROM data. No function. No function. No function. Name
34/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Fast Forward/Rewind Playback (Valid only in Retroactive Play mode and Normal Mode)
Command Cue/Rew Code 1st Byte 23h 2nd Byte Unit[7:4] Speed[3:0] Description Start fast forward or rewing playback Sets Unit value Sets Speed value Use this command, while playing, to start Fast Forward or Rewinding playback from the point that is currently played. When you want to get the speed back to normal X1 play, execute the Cue/Rew command again with the Speed value of "0". The Unit vlaue is ignored in this operation. Unit Function
Unit 0 1 2 3 4 Description By unit of 1,024 bits By unit of 2,0484 bits By unit of 4,0964 bits By unit of 8,192 bits By unit of 16,384 bits
Speed Function
Speed 0 1 2 3 4 5 Description FF at X1 speed FF at X1.25 speed FF at X1.5 speed FF at X2 speed FF at X3 speed FF at X4 speed Speed 8 9 A B C D Description Rewind at X1 speed Rewind at X1.25 speed Rewind at X1.5 speed Rewind at X2 speed Rewind at X3 speed Rewind at X4 speed
Combinations of Units and Speeds Speed 0 1 2 3 4 5 8 9 A B C D X1 X1.25 X1.5 X2 X3 X4 X1 X1.25 X1.5 X2 X3 X4 0 -- -- -- 1 -- -- Unit 2 3 -- -- 4 -- 5 --
-- -- --
-- --
--
--
--
--
The combination of the Unit value and the Speed value affects playback sound. Therefore, choose a proper combination of the two values depending on the type of sound to be played. The Fast Forward/Rewind Play function is available only in Retroactive Play Mode and Normal mode. If you use this function, you should not use the Block address FFh. Note: The following restrictions apply to this function: * The size of the sound data area must be 128 pages (i.e. 16 blocks) or more. * You may not use the block address FFh. * The Cue/Rew command is unavailable for playback after an endless recording session or repeat play by using the Play2 command.
35/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
FLOWCHARTS
Delayed Play Mode
Start
[Select operating mode]
Mode command
Send Mode command (01h) Select Delay mode Send Area2 command Send Start2 [7:0] Send End2 [7:0] Send Dly command (38h) Send Dly [15:8] Send Dly [7:0] Send Rec command (10h) Send Method [7:4]/Samp [3:0]
[Select voice area]
Area2 command
[Set Delay time]
Dly command
[Set to recording state]
Rec command
[Start recording]
Start command
Send Start command (30h)
Y End ? N N Play ? Y [Start playback] N Play command Send Play command (20h) Send Method [7:4]/Samp [3:0] (Note) The play mode is maintained until Stop command is input. (Note) When Play command is issued during recording, the Method/Samp value of Rec command has priority.
Stop playing ? Y Rec command
[Stop recording/playback]
Stop command
Send Stop command (40h)
End
36/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Retroactive Play Mode (1) Shown below is the flowchart in which playback starts by issuing the Play or Play2 command during recording. When playing the recorded voice, see the flowchart on the next page.
Start
[Select operating mode]
Mode command
Send Mode command (02h) Select Retroactive play mode Send Area2 command (39h) Send Start2 [7:0] Send End2 [7:0] Send Dly command (38h) Send Dly [15:8] Send Dly [7:0] Send Rec command (10h) Send Method [7:4]/Samp [3:0]
[Select voice area]
Area 2 command
[Set Delay time]
Dly command
[Set to recording status]
Rec command
[Start recording]
Start command
Send Start command (30h)
N
Play ? Y
[Start one time playback] or [Start repeat playback]
Play or Play2 command
Send Play command (20h) or Play2 command (21h) Send Method [7:4]/Samp [3:0] (Note) Recording stops and repeat playback starts. (Note) When Play or Play2 command isissued during recording, the Method/Samp value of Rec command has priority. Send Cue/Rew command (23h) Send Unit [7:4]/Speed [3:0]
(Caution) Note the following when playing the recorded voice in Retroactive play mode after playback in other modes such as Delayed play mode and Normal playb mode. The recording address information on playback in Retroactive play mode is not maintained when the mode is moved to other mode. Therefore, be sure to read the recording address information with Adrrd command before moving to other mode. When doing playback, write the recording address information as the playback address information with Adrwr command.
Cue or Rew ? Y [Start playback after fast forwarding/rewinding] N Cue/Rew command
N
End ? Y
[Stop repeat playback] Send Stop command (40h)
Stop command
End
37/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Retroactive Play Mode (2) Shown below is the flowchart in which the voice that was recorded in Repeat playback mode is played later.
Start
[Select operation mode]
Mode command
Send Mode command (02h) Select Retroactive play mode Send Area2 command (39h) Send Start2 [7:0] Send End2 [7:0] Send Dly command (38h) Send Dly [15:8] Send Dly [7:0] Send Adrrd command (51h) Send (00h) Receive Stadr [23:16], Stadr [15:8], Stadr [7:0] Receive Enadr [23:16], Enadr [15:8], Enadr [7:0] Send Adrrd command (50h) Send (00h) Send Stadr [23:16], Stadr [15:8], Stadr [7:0] (Lower 7 bits Stadr [6:0] are "0") Send Enadr [23:16], Enadr [15:8], Enadr [7:0] (Lower 7 bits Enadr [6:0] are "1") Send Play command (20h) or Play2 command (21h) Send Method [7:4]/Samp [3:0]
[Select voice area]
Area2 command
[Set Delay time]
Dly command
[Read recording address information]
Adrrd command
[Write playback address information]
Adrwr command
[Set to one time playback status] or [Set to repeat playback status] [Start playback]
Play or Play2 command
Start command
Send Start command (30h)
Cue/Rew ? Y [Fast forwarding/ rewinding starts] N Cue/Rew command
N
Send Cue/Rew command (23h) Send Unit [7:4]/Speed [3:0]
End ? Y
[Stop playback]
Stop command
Send Stop command (40h)
End
38/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Recording in Normal Mode
Start
[Select operating mode]
Mode command
Send Mode command (03h) Select Normal mode Send Area1 command (36h) Send Start1 [7:0] Send End1 [7:0] Send Area2 command (39h) Send Start2 [7:0] Send End2 [7:0] Send Adrrd command (50h) Send (00h) Send Stadr [23:16], Stadr [15:8], Stadr [7:0] (Lower 7 bits Stadr [6:0] are "0") Send Enadr [23:16], Enadr [15:8], Enadr [7:0] (Lower 7 bits Enadr [6:0] are "1") Send Rec command (10h) Send Method [7:4]/Samp [3:0]
[Select voice area block]
Area1 command
[Select voice area]
Area2 command
[Write recording address information]
Adrwr command
[Set to recording status]
Rec command
[Start recording]
Start command
Send Start command (30h)
Recording finished ? N N
Y
RPM bit = "1"
RPM bit = "0"
End recording ? Y
[End recording]
Stop command
Send Stop command (40h)
End
39/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Playback in Normal Mode
Start
[Select operating mode]
Mode command
Send Mode command (03h) Select Normal mode Send Area1 command (36h) Send Start1 [7:0] Send End1 [7:0] Send Area2 command (39h) Send Start2 [7:0] Send End2 [7:0] Send Play command (20h) Send Phrase [7:0]
[Select voice area block]
Area1 command
[Select voice area]
Area2 command Play command
[Set to playback status]
[Start playback]
Start command
Send Start command (30h)
Playback finished ?
Y RPM bit = "1"
N RPM bit = "0" End playback ? N N Cue/Rew ? Y [Start playback after fast forwarding/rewinding] Cue/Rew command Send Cue/Rew command (23h) Send Unit [7:4]/Speed [3:0] Y
[End playback]
Stop command
Send Stop command (40h)
End
40/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Dtrw Command
Start
[Select operating mode]
Dtrw command
[Set the top address of DRAM or ROM to be accessed] Send Dtrw command (60h) Send Adr [23:16], Adr [15:8], Adr [7:0]
N Continue Dtrw ? Y Write data ? Y Bytew command [Write data to DRAM] Send Bytew command (61h) Send Data [7:0] N
Byter command
[Read data from DRAM, ROM] Send Byter command (62h) Receive Data [7:0]
End command
[End of access to DRAM, ROM] Receive End command (63h)
End
41/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
STATUS TRANSITION DIAGRAM
Area1: Select a voice data management area (Normal mode). Area2: Select a voice data storage area. Adrwr: Input a phrase recording/playback address (Retroactive mode, Normal mode). Adrrd: Output a phrase recording/playback address (Retroactive mode, Normal mode).
Mode: Select a mode. Delay: Set to a Dly volume. Rec: Set to a recording status. Play: Set to a playback status. Play2:Set to repeat-playready status. Vol: Select a volume. Del: Delete phrase data. Copy: Copy page data. Status: Output a status signal.
Byte data reading
Byte data writing
Power down
Byter: Start reading data
Bytew: Start writing data
Input RESET pulse.
Pwdn1: Power down (data is retained)
Reading/writing data
Pwdn2: Power down (data is not retained) Dtrw : Read/write data Waiting for command
End : End reading/writing data
a Stop: Stop recording/playback Start: Start recording/playback Stop: Stop ROM playback Rply: Start ROM playback Vol: Set a volume Status: Output a status signal
Vol: Set a volume Status: Output a status signal
Recording/playback in each mode Mode=01h Mode=02h Mode=03h
Rply: Start ROM playback ROM playback Continuous phrase playback
Operation in Delayed play mode Rec: Stop playback (in Delayed play Play: Re-start mode) playback a Playback is pausing Stop: Stop recording/playback Vol: Set a volume Status: Output a status signal Recording/playback in Normal mode Stop: Stop recording/playback Vol: Set a volume Status: Output a status signal a
Vol: Set a volume Status : Output a status signal
Pause: Pause/resume Pausing
Cue/Rew: Fast forwarding/rewinding
Playback after Cue/Rew Operation in Retroactive play mode Stop: Stop recording/playback a Stop: Stop playback a Pausing Pause: Pause/resume
Pause: Pause/resume Pausing
42/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
SUMMARY OF OPERATING MODES AND FUNCTIONS
Delayed Play Mode Delayed Play is a unique operational mode that enables you to hear what has been recorded several seconds ago while the LSI keeps on recording current sound. As shown in the figure below, while the LSI keeps on recording in endless circular motion by returning to the top address of the DRAM's area specified with the Area2 command, it simultaneously plays what has been recorded earlier with a time lag defined with the Delay command. Adding this function to a conventional recording system like cassette tape recorder enables you to record sound in the past to such other media as a cassette tape.
Returning to the top address of the area
Recording area on DRAM Play
Record
Delay Time (Time lag between Recording and Playing)
In Retroactive Play Mode or Normal Mode, you cannot play what has been recorded in Delayed Play Mode.
43/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Retroactive Play Mode Retroactive Play is another unique and handy operational mode that enables you to hear what you have missed a short period ago. While you let the LSI continue recording in endless circular motion to the memory's area specified with the Area2 command, you can issue the Play or Play2 command to hear what you have missed, going back to earlier data that the LSI has stored so far. This enables you to record sound in the past retroactively, which differentiate your application from so called "Voice Reminder" type of applications. The Delay time, that is a time length to go back to the past, can be defined by using the Delay command. In addition, the LSI supports Cue/Rewind function that has been unavailable with conventional ADPCM record/play chips. This provides you with faster search capability among recorded messages.
Record
Record operation goes on until the Play or Play2 command is issued Issuing the Play or Play2 command * One-time Playback with the Play command
Play
Delay Time Time length to go back to the past * Continuous Repeat Playback with the Play2 command
Play
Delay Time Time length to go back to the past Issuing the Play or Play2 command during recording operation causes the LSI to stop recording.
44/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Normal Mode MS87V1021 also provides Normal Mode where you can record or play to/from the on-chip DRAM as with a conventional solid-state recorder. You can readily build a "Voice Reminder" application around this microchip that enables up to 255-phrase recording and playing. In addition, the LSI supports Cue/Rewind function that has been unavailable with conventional ADPCM record/play chips. This provides you with faster search capability among recorded messages. DRAM's Sound Data Storage Area
1Phrase
2Phrase
3Phrase
254Phrase 255Phrase
You can flexibly adjust the size of each phrase area according to your recording time requirement. Assume that you already have Phrase1 through Phrase3 recorded. Now, you want to erase Phrase2 and Phrase3 so that you can create new Phrase2 with larger memory space. To do so, follow the steps below:
Phrase1
Phrase2
Phrase3
Erase Phrase2 and Phrase3 by using the Del command.
Phrase1 Record to Phrase2.
Phrase1
Phrase2
45/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Fast Forward/Rewind Function (Cue/Rew) Fast Forward/Rewind playback function is a unique new feature that enables you to do speed hearing across multiple phrases. This function is available in Retroactive Play Mode and Normal Mode only. Fast Forward and Rewind playback is performed by culling recorded ADPCM data. You can optimize speedy hearing quality for source sound types by selecting appropriate culling interval and playback speed.
The figure below shows an example operations performing Fast Forward/Rewind playback in the following order; Normal Play X2 Fast Forward X4 Rewind X1 Play Start End
Normal Play *1 X2 Fast Forward X4 Rewind X1 Play *2 : Represents sound data to be played after thinning out in FF/Rewind playback. *1: Playback by using the Play command *2: Playback at X1 Speed by using the Cue/Rew command. 4 1 3 2 3 2 4 5 1
You need to issue the Cue/Rew command, setting the Speed value to "0", if you want to return to normal X1 speed playback after performing Cue/Rew operation. [Restrictions on Fast Forward/Rewind Playback Function ] (1) If you plan to use Cue/Rew function in your application, you should not use block address FFh for storing sound data in Retroactive Play Mode and Normal Mode. If you intend not to use the function, you can use all blocks including FFh. (2) You cannot use Cue/Rew function in Normal mode when the Record_start address is equal to the Record_end address. (When voices are played after endless recording)
46/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Copy Command You can use the Copy command to move recorded data that you want to keep to another location on the memory. Moving specific data to another location enables you to secure contiguous open memory space for longer recording time. Be sure to select a destination area not overlapping with a source data area. The minimum unit for copying data is in pages.
1
2
3
4
5
Executing the Copy command 1 2 3 4 5 1 2 3 4 5
You can also move data in the Retroactive Play Mode area to the Normal Mode area.
Address
Copy sound data with the Copy command. Set up Start_new and End_new addresses, Method, and Samp information so as to control a new phrase.
Retroactive Play Mode Area Normal Mode Area Copied sound Data Copy command
Page Retroactive Play Mode Area Sound Data Start End Sound Data Retroactive Play Mode Area Sound Data
Normal Mode Area
New Phrase (ex. Phrase=1) Normal Mode Area Copied sound Data
Address Start_new
End_new
47/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
[Defining the Method, Samp and address information] To let the LSI to recognize a copied sound data as a new phrase, you need to define address control information that includes the Method, Samp, Start Address and End Address. Such information should be entered to an address control data area for each phrase. For more details on address control data area, see "Controlling addresses in Normal Play Mode". To define address control information, follow the steps below: 1. Defining the Method and Samp Use the Bytew command to write the data. (Ex.) Where; Phrase 1, Method = 01h, Samp = 08h and Start Address for Area1 = 00h (1) Specifying the Start Address Enter the DTRW command; 2nd Byte: 00h, 3rd Byte: 00h, 4th Byte: 08h (2) Writing the data Enter the Bytew command; 2nd Byte: 18h * Writing the Method and Samp data (3) Ending Write Mode Enter the End command 2. Defining the Start Address and End Address Use the Adrwr command to define the data for each phrase. (Ex.) Where; Phrase 1, Stadr = 000800h and Enadr = 010000h Enter the Adrwr command; 2nd Byte: 01h, 3rd Byte: 00h, 4th Byte: 80h 5th Byte: 00h, 6th Byte: 01h, 7th Byte: 00h, 8th Byte: 00h [Copying separated data] To copy two data that were separately recorded in two portions of a Retroactive Play Mode area as shown below, issue the Copy command twice, first for the former data and second for the latter data.
Retroactive Play Mode area Recorded data Address End Start Recorded data
Normal Mode area
New pharase Normal Mode area The latter The former recorded data recorded data End_new
Retroactive Play Mode area The latter recorded data The former recorded data
Copy command
Start_new
48/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
MEMORY ALLOCATION
Storing Sound Data to DRAM (In Pages) The on-die 2-Mbit DRAM consists of 2048 pages, 1024 bits for each page. The first 24-bit memory space of each page is allocated for storing ADPCM intermediate data and the remaining 1000-bit space for storing ADPCM (sound) data. For additional information on data structures of pages allocated for address control in Normal Mode, see "Controlling Addresses of Sound Data in Normal Mode" later in this document.
1024 bit 24 bit Page 0 Page 1 Page 2 Page 3 ADPCM Intermediate Data 1000 bit DRAM Address * 000h to 07Fh 080h to 0FFh 100h to 17Fh 180h to 1FFh
Page 2042 Page 2043 Page 2044 Page 2045 Page 2046 Page 2047
ADPCM Data
3FD00 to 3FD7Fh 3FD80 to 3FDFFh 3FE00 to 3FE7Fh 3FE80 to 3FEFFh 3FF00 to 3FF7Fh 3FF80 to 3FFFFh
Pages on DRAM
Note: "DRAM Address" means the addresses used with the Adrrd and Adrwr commands, i.e. Stadr[23:0] and Enadr[23:0].
49/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Storing Sound Data to DRAM (In Blocks) A block is a memory space unit that is equivalent to 1/256 of the entire DRAM capacity. The memory space for a block can be obtained by the following formula: 1 Block = 2,097,152 Bits/256 = 8,192 Bits (Equals to 8 Pages)
Block Address (Note) Page 1 (1024 Bits) 00h
1 Block
Block 1
256 Blocks
Page 8 (1024 Bits) Block 2
01h 02h
FFh Block 256
Note: Block address is a value for the Start1/ Start2 and End1/End2 when you specify a memory area using the Area1 or Area2 command. Each block is assigned to a specific memory address. The following table shows block addresses and its corresponding memory addresses at the top of each block. For blocks not appearing in the table below, you can get the top address value of a given block by incrementing 400h for each single block.
DRAM Memory Address at the top of Blocks
Block Address 00h 01h 02h 04h 08h 10h 20h 40h 80h FFh DRAM Memory Address 000000h 000400h 000800h 001000h 002000h 004000h 008000h 010000h 020000h 03FC00h
50/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
You need to assign a separate memory space area for each playback mode. Delayed Play Mode, Retroactive Play Mode and Normal Mode must have their own memory space, when used in a single application. Each mode cannot share any memory space with other modes. Therefore, you need to define a proper memory area for each mode if you are required to use more than one mode in a single application. (1) When the entire DRAM memory space is used for a single play mode
DRAM Memory Space Normal (or Delayed Play/Retroactive Play) Mode Only
(2) When the DRAM memory space is divided into two areas (For Normal and Retroactive Play Mode in this example)
DRAM Memory Space Normal Mode Area Retroactive Play Mode Area
(3) When the DRAM memory space is divided into three areas
DRAM Memory Space Normal Mode Area Retroactive Play Mode Area Delayed Play Mode Area
You can move, in pages, sound data recorded in Retroactive Play Mode to the Normal Mode area by using the Copy command. This enables you to control phrases recorded in Retroactive Play Mode in Normal Mode. Sound data recorded in Delayed Play Mode cannot be moved to the Retroactive Play Mode area or Normal Mode area. Data in the Normal Mode area neither can be moved to the Retroactive Play Mode area. [Note 1 on Selecting Blocks for more than one mode] Be sure to select blocks not overlapping with the area specified for other modes, when you select blocks for multiple modes. When you define an area for each mode, you can define only one area for a specific mode. So, as shown in the above three figure, you can define up to three areas for three modes.
Retroactive Play Mode Area
Normal Mode Area
Normal Mode
Retroactive Play Mode
No Overlapping Allowed
51/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
[Note 2 on Selecting Blocks for more than one mode] As shown in the following example, you cannot select blocks across the end address of the DRAM when you define an area with the Area1 or Area2 command. Therefore, the Start1, 2 and End1, 2 values must always satisfy Start1, 2 < End1, 2.
End Start
Normal Mode
DRAM Memory Space Area where Start > End is Not Allowed
Normal Mode
[Re-defining an Area after Mode Switch] When you switch an operation mode from one to another, you should redefine the area by using the Area2 command.
(1) Normal Mode Retroactive Play Mode Normal Mode (Mode Switched)
Set up Normal Mode Issuing the Area1 and Area2 commands Set up Normal Mode Issuing the Area1 and Area2 commands
Set up Repeat Mode Issuing the Area2 commands
(2) Normal Mode Power Down Normal Mode
Set up Normal Mode Issuing the Area1 and Area2 commands
If the mode remains unchanged before and after Power Down, mode settings remains unchanged.
The values set with the Area1 command in Normal Mode remain unchanged until Reset signal is entered.
52/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Controlling Addresses in Retroactive Play Mode In Retroactive Play Mode, four registers are defined within the internal Record/Play register. Those are the record/play_start address (Stadr), the record/play_end address (Enadr), the sampling frequency (Samp) and the method (Method). Use the Adrrd command to read the Stadr/Enadr value, and the Adrwr command to write the Stadr/Enadr value. In addition, you need to set up a sampling frequency and an ADPCM algorithm (Method) by using the Rec or Play command.
The Internal Record/Play Registers Stadr (24 bits) Enadr (24 bits) Samp (4 bits) Method (4 bits)
[Note on Issuing the Adrrd or Adrwr command] In Retroactive Play Mode, multiple phrasing is not allowed by its design. However, the recorded data is processed as "Phrase = 0" internally. Therefore, be sure to set the second byte to "00h" as you issue the Adrrd or Adrwr command. [Note on Issuing the Stadr and Enadr commands] Sound data has ADPCM intermediate data in each page. By the nature of ADPCM, playback must start from the top address of a page, otherwise playback cannot be performed properly. Therefore, when you define the Stadr value with the Adrwr command, be sure to set the lower 7-bit to "0" (i.e. specifying a page's top address). Similarly, set the lower 7-bit to "1" when you define the Enadr. (A single page on the DRAM is 1024 bits.) For the details, see "Storing Sound Data to DRAM (In Blocks)" and "Addressing with the Adrrd and Adrwr Commands" sections.
53/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Controlling Addresses in Normal Mode In Normal Mode, the address control data area and the sound data area are allocated within the blocks selected by using the Area1 and Area2 commands. The address control data area is for storing address control data for up to 255 phrases, while the sound data area is for storing ADPCM intermediate data and ADPCM data, as described in "Storing Sound Data to DRAM", earlier in this document. 1 to 255 phrase value is available. Phrase = 0 is unavailable in Normal Mode because it is used only in Retroactive Play Mode. For further details on address control data for each phrase, see "Address Control Data for Each Phrase", later in this document.
Relative Address within the Area* 0h to 7Fh 80h to FFh 100h to 17Fh
Start1
Page Address Specified Page + 0 Specified Page + 1 Specified Page + 2
DRAM Address Control Data (Phrase 1 to 15) Address Control Data (Phrase 16 to 31) Address Control Data (Phrase 32 to 47)
Blocks Specified with the Area1 Command
Blocks Specified with the Area2 Command
Specified Page + 14 Address Control Data (Phrase 224 to 239) 700h to 77Fh Start2 Specified Page + 15 Address Control Data (Phrase 240 to 255) 780h to 7FFh Specified Page + 16 Specified Page + 17 Specified Page + 18 Sound Data Sound Data Sound Data 800h to 87Fh 880h to 8FFh 900h to 97Fh
Sound Data Sound Data Sound Data End2
End1
Note: Relative address means relative address value from the top address of the area defined by the Area1 command. [Notes on Issuing the Area Command] As shown in the above figure, the first 2 blocks (16 pages) are assigned for storing address control data when you define an area with the Area1 command. So, with Area2 command, you need to select blocks not overlapping with such address control data area (with the Area commands, selecting an area in Blocks, i.e. 8-page). Therefore, the value for the Start2 of the Area2 command must be larger than the Start1 value + 16 pages. In other words, the Start1, 2 and the End1, 2 must satisfy the following: Start2 Start1 + 02h, End2 End1 (All values within 00h to FFh range)
54/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Address Control Data for Each Phrase Address Control data for each phrase consists of 8 bytes (64 bits), as shown in the following table.
Address Phrase Address
(Note)
Bit 7 6 5 4 3 2 1 0
00_0000 00_0001 00h 00_0002 00_0003 00_0004 00_0005 00_0006 00_0007 00_0008 00_0009 01h 00_000A 00_000B 00_000C 00_000D 00_000E 00_000F Method Upper Start Address Middle Start Address Lower Start Address Upper End Address Middle End Address Lower End Address Reserved Area Samp Reserved Area
00_07F8 00_07F9 0FFh 00_07FA 00_07FB 00_07FC 00_07FD 00_07FE 00_07FF
Method Upper Start Address Middle Start Address Lower Start Address Upper End Address Middle End Address Lower End Address Reserved Area
Samp
(Note) Each address means a relative address starting from the top address of Area 1.
55/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Addressing with the Adrrd and Adrwr Commands In Retroactive Play Mode and Normal Mode, you can control addresses for recording and playing by using the Adrrd and Adrwr commands. [The Adrrd Command] In Retroactive Play Mode and Normal Mode, the Adrrd command enables you to read the DRAM's record_start address and the record_end address. These addresses represent specific address locations on the on-die DRAM, as described in "Storing sound Data to DRAM" section earlier in this document. You can determine the address to be played based on those address information. [The Adrwr Command] In Retroactive Play Mode and Normal Mode, the Adrwr command enables you to specify the DRAM address at which the LSI starts to play. You can determine the starting and ending addresses according to address information obtained by using the Adrrd command. When you define the play_start address, you need to specify the top address of the starting page. By the nature of ADPCM, playback must start from the top address of a page, otherwise playback cannot be performed properly. Similarly, you should specify the last address of the ending page when you define the end_play address.
The record_start address
00000h
The play_start address
00000h Sound Data
Sound Data Page Sound Data Sound Data Sound Data Page Playback after recording
Sound Data Sound Data Sound Data
End recording
001FFh
The end_play address
Addressing with the Adrwr command Stadr = 00000h Enadr = 001FFh (The Enadr must be the last address of the ending page)
[Notes on addressing] The play_start address cannot be larger than the play_end address. Therefore, the addressing should be Stadr Eadr.
56/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Memory Allocation of Mask ROM The following figure illustrates the on-chip Mask ROM memory allocation.
ROM Address 0000h to 0007h 0008h to 000Fh 0010h to 0017h
Mask ROM Phrase 0 Address Data Phrase 1 Address Data
07F0h to 07F7h 07F8h to 07FFh 0800h to
Phrase 254 Address Data Phrase 255 Address Data Sound Data Area
to FFFFh
Sound Data Area
The format of address control data for each phrase is identical to the one for the DRAM. ROM Address means the address values specified with the Stadr and Enadr, used for controlling Mask ROM phrases. Remember that these addresses are different from physical memory addresses used with the Dtrw command to make an access to the Mask ROM. (See "Memory Map" section on the following page)
57/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Memory Map The figure below shows the memory map of DRAM and Mask ROM. Addresses shown in this figure represent physical addresses of each memory, which you can use with the Dtrw command.
80FFFFh
512-Kbit Mask ROM 64k-word x 8 bits
800000h
Unused
03FFFFh
2 Mbit DRAM 256k-word x 8 bits
000000h
58/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Recording Time Length This section describes recording time length of the blocks selected with the Area1 and Area2 commands. A block is a memory space equal to 1/256 of 2-Mbit on-chip DRAM. The following formula can be used to obtain the memory space per block: Block = 2,097,152 Bits/256 = 8,192 Bits (equal to 8 Pages) A page consists of 1024 bits, out of which a 24-bit space is allocated for storing ADPCM intermediate data. Therefore, actual usable area for storing sound data is as follows: Actual usable area per block : 8,192 bits - 24 bits x 8 pages = 8,000 bits You can obtain recording time per block with the following formula: Where; Sampling Frequency Fsam = 8 kHz Recording time per Block: 8,000 bits / (4 bits* x 8 kHz) = Approx. 0.25 sec Note: "4 bits" represents 4-bit ADPCM. The following table summarizes recording time length at each sampling frequency. Sampling Frequency and Recording Time
Sampling Frequency 4.0 kHz 5.3 kHz 6.4 kHz 8.0 kHz 10.6 kHz Recording Time per Block Approx. 0.50 sec Approx. 0.38 sec Approx. 0.31 sec Approx. 0.25 sec Approx. 0.18 sec Recording Time for Entire 2 Mbit Approx. 128 sec Approx. 97 sec Approx. 80 sec Approx. 64 sec Approx. 48 sec
[Recording Time in Delayed Play Mode and Retroactive Play Mode] In Delayed Play Mode and Retroactive Play Mode, the maximum recording time depends on the number of blocks selected with the Area2 command as all the blocks selected are allocated for storing sound data.
59/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
[Recording Time in Normal Mode] In Normal Mode, the area selected with the Area2 command is assigned for storing sound data, therefore the maximum recording time depends on the number of blocks included in the area. Note that the first two blocks of the area selected with the Area1 command is automatically allocated to the Address Control data area in Normal Mode. So, the maximum number of blocks usable for storing sound data (i.e. the area that can be selected with the Area2 command) is the number of blocks selected with the Area1 command minus 2 blocks. For example, Blocks selected with the Area1 command: Start1 = 00h; End1 = 0Fh (16 blocks) Blocks selectable with the Area2 command: Start2 = 02h; End2 = 0Fh (14 blocks) (Area for storing sound data) Where: Sampling frequency Fsam = 8 kHz; Maximum recording time: About 3.5 sec
60/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
Delay Time in Delayed Play Mode and Retroactive Play Mode In Delayed Play Mode and Retroactive Play Mode, you should define the Delay Time, that is a time lag between recording and its playback in the former or the time going back to the past in the latter. Use 16-bit unsigned integer value Dly[15:8], Dly [7:0] to set up the Delay time. The following section summarizes the relationship between the Dly value you set and the actual delay time obtained in the operation. Delay Time = Dly value x 250/Sampling Frequency For example, with sampling frequency at 8 kHz, if you set the Dly value to 0100h, the actual delay time can be obtained by the following formula: Delay Time = 0100h x 250/8 kHz = 8 sec
[Restriction on setting the Dly value in Delayed Play Mode and Retroactive Play Mode] There is a certain limitation on setting the Dly value in Delayed Play Mode and Retroactive Play Mode. You cannot set up the Delay time that is equal or longer than the maximum recording time for the current mode. The LSI may not operate properly when you set up the Delay time as shown below: Sound data area selected with the Area2 command: 00h to FFh (239 blocks, about 59.75 sec at Fsam = 8 kHz) Dly value: 0778h Delay Time: about 59.75 sec Therefore, the Dly value and the number of selected blocks must satisfy the following formula: Dly value < 8 x Number of selected blocks For the above example, the Maximum Delay time that satisfies the formula is as follows: Dly value: 0777h < 8 x 239 blocks Delay Time: about 59.71 sec
61/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
PACKAGE DIMENSIONS
(Unit: mm)
TSOP(1)32-P-0814-0.50-1K
Mirror finish
5
Package material Lead frame material Pin treatment Package weight (g) Rev. No./Last Revised
Epoxy resin 42 alloy Solder plating (5m) 0.27 TYP. 3/Dec. 10, 1996
Notes for Mounting the Surface Mount Type Package The surface mount type packages are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, contact Oki's responsible sales person for the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times).
62/63
PEDS87V1021-01
1 Semiconductor
MS87V1021
NOTICE 1. The information contained herein can change without notice owing to product and/or technical improvements. Before using the product, please make sure that the information being referred to is up-to-date. 2. The outline of action and examples for application circuits described herein have been chosen as an explanation for the standard action and performance of the product. When planning to use the product, please ensure that the external conditions are reflected in the actual circuit, assembly, and program designs. When designing your product, please use our product below the specified maximum ratings and within the specified operating ranges including, but not limited to, operating voltage, power dissipation, and operating temperature. Oki assumes no responsibility or liability whatsoever for any failure or unusual or unexpected operation resulting from misuse, neglect, improper installation, repair, alteration or accident, improper handling, or unusual physical or electrical stress including, but not limited to, exposure to parameters beyond the specified maximum ratings or operation outside the specified operating range. Neither indemnity against nor license of a third party's industrial and intellectual property right, etc. is granted by us in connection with the use of the product and/or the information and drawings contained herein. No responsibility is assumed by us for any infringement of a third party's right which may result from the use thereof. The products listed in this document are intended for use in general electronics equipment for commercial applications (e.g., office automation, communication equipment, measurement equipment, consumer electronics, etc.). These products are not authorized for use in any system or application that requires special or enhanced quality and reliability characteristics nor in any system or application where the failure of such system or application may result in the loss or damage of property, or death or injury to humans. Such applications include, but are not limited to, traffic and automotive equipment, safety devices, aerospace equipment, nuclear power control, medical equipment, and life-support systems. Certain products in this document may need government approval before they can be exported to particular countries. The purchaser assumes the responsibility of determining the legality of export of these products and will take appropriate and necessary steps at their own expense for these. No part of the contents contained herein may be reprinted or reproduced without our prior permission. Copyright 2000 Oki Electric Industry Co., Ltd.
3.
4.
5.
6.
7.
8.
63/63


▲Up To Search▲   

 
Price & Availability of MS87V1021

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X